﻿namespace Mangosoft.DiceCopy.Domain.MainBoundedContext.Aggregates.NewsAgg {
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using Mangosoft.DiceCopy.Domain.Seedwork;

    public class News : Entity, IValidatableObject {
        ///<summary>
        ///
        ///</summary>
        public string Title { get; set; }
        ///<summary>
        ///
        ///</summary>
        public int Channel { get; set; }
        ///<summary>
        ///
        ///</summary>
        public string NavigateUrl { get; set; }
        ///<summary>
        ///
        ///</summary>
        public string Short { get; set; }
        ///<summary>
        ///
        ///</summary>
        public string Full { get; set; }
        ///<summary>
        ///
        ///</summary>
        public bool Published { get; set; }
        ///<summary>
        ///
        ///</summary>
        public DateTime PostedOn { get; set; }
        ///<summary>
        ///
        ///</summary>
        public DateTime DateCreated { get; set; }
        ///<summary>
        ///
        ///</summary>
        public DateTime LastUpdated { get; set; }
        #region IValidatableObject Members
        public IEnumerable<ValidationResult> Validate(ValidationContext validationContext) {
            var validationResults = new List<ValidationResult>();

            return validationResults;
        }
        #endregion
    }
}
